package cn.xgj.sfzy.service;

import cn.xgj.sfzy.entity.Appointment;
import cn.xgj.sfzy.entity.Article;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AppointmentService {

    //删除
    int remove(Integer id);
    //修改
    int edit(Appointment appointment);
    //查
    List<Appointment> findAll(Appointment appointment);
    //分页查
    PageInfo<Appointment> findByPage(Integer pageNum, Integer ageSize, Appointment appointment);

    List<Appointment> findByUSerId(Integer userId);
}
